package com.nmsl.system.medical_temp.service.impl;

import com.nmsl.system.medical_temp.domain.MedicalHistory;
import com.nmsl.system.medical_temp.mapper.MedicalHistoryMapper;
import com.nmsl.system.medical_temp.service.IMedicalHistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class MedicalHistoryServiceImpl implements IMedicalHistoryService {
    @Autowired
    private MedicalHistoryMapper medicalHistoryMapper;

    @Override
    public int insertMedicalHistory(MedicalHistory medicalHistory) {
        return medicalHistoryMapper.insertMedicalHistory(medicalHistory);
    }

    @Override
    public int deleteMedicalHistory(Long id) {
        return 0;
    }
}
